import { service as request } from '@/utils/request'

/**
 * 根据名称分页查询
 * 5.8
 */
export function getList (data) {
  return request({
    url: `/hawk/business/search/1/1000`,
    method: 'get',
    params: {
      name: ''
    }
  })
}


export function ciInfo (id) {
  return request({
    url: `/assets/ci/business/${id}`,
    method: 'get'
  })
}
export function doAdd (data) {
  return request({
    url: `/assets/ci/business`,
    method: 'post',
    data
  })
}
export function doEdit (data) {
  return request({
    url: `/assets/ci/business`,
    method: 'put',
    data
  })
}